/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package BUS;

import DAO.ChuyenTau_DAO;
import DTO.ChuyenTau_DTO;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Phung
 */
public class ChuyenTau_BUS {
    
     public static String Get_MaCT() throws SQLException{
        return ChuyenTau_DAO.Get_MaCT();
    }
    public static ArrayList<ChuyenTau_DTO> GetALL(){
        return ChuyenTau_DAO.GetALL();
    }
    public static boolean Insert(ChuyenTau_DTO ChuyenTau){
        return ChuyenTau_DAO.Insert(ChuyenTau);
    }
    public static boolean Update(ChuyenTau_DTO ChuyenTau){
        return ChuyenTau_DAO.Update(ChuyenTau);
    }   
    public static boolean Delete(String MaCT){
        return ChuyenTau_DAO.Delete(MaCT);
    }
}
